Title: _ Extract an icon from any file you wish, including the root of a drive or a folder _
Description: You can use this code to get the icon from any file on your hard disk.... Simply call the function with a filename; 'c:\testfile.exe', an imagelist to add the icon to; 'imagelist1', a picturebox for buffer purposes; 'picturebox1' and the size of the image you wish to extract, either 16, or 32 pixels. This code returns the index of the icon that has been added to the imagelist.
tHe_cLeanER
This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=34062&lngWId=1

The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
